15. Endpoints & REST APIs
Quiz on Endpoints & REST APIs
First let's make sure you understand the language associated with your model deployment.
QUIZ QUESTION: :
In the previous section, you learned that the endpoint is the interface that allows for communication between the model and the application .
Match the Python Program feature that best represents the Machine Learning Deployment feature below.
ANSWER CHOICES:
Machine Learning Deployment Feature |
Python Program Feature |
---|---|
Python Function Call |
|
Python Function's Argument |
|
List |
|
Constant Variable |
|
Python Function's Returned Value |
|
Python Function |
|
Python Program |
|
Pseudocode |
SOLUTION:
Machine Learning Deployment Feature |
Python Program Feature |
---|---|
Python Function Call |
|
Python Function's Argument |
|
Python Function's Returned Value |
|
Python Function |
|
Python Program |
Question 2
Next let's make sure you are comfortable with the web language that is associated with how your model application and the software application communicate with one another.
QUIZ QUESTION: :
For each statement, match the phrase that best completes it.
ANSWER CHOICES:
Statements |
Missing Phrases |
---|---|
CSV or JSON format |
|
HTTP request |
|
CSV format |
|
JSON format |
|
user's data |
|
PUT |
|
POST |
|
HTTP response |
|
GET |
|
predictions |
SOLUTION:
Statements |
Missing Phrases |
---|---|
CSV or JSON format |
|
user's data |
|
POST |
|
HTTP response |